/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.project.service.projectbasicinfo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.idenger.common.persistence.Page;
import com.idenger.common.service.CrudService;
import com.idenger.modules.project.entity.projectbasicinfo.ProjectBasicinfo;
import com.idenger.modules.project.dao.projectbasicinfo.ProjectBasicinfoDao;

/**
 * 项目基本信息Service
 * @author chenlin
 * @version 2018-04-11
 */
@Service
@Transactional(readOnly = true)
public class ProjectBasicinfoService extends CrudService<ProjectBasicinfoDao, ProjectBasicinfo> {

	public ProjectBasicinfo get(String id) {
		return super.get(id);
	}

	public ProjectBasicinfo getProjectBasicinfoByprojectId(String projectId){
		return dao.getProjectBasicinfoByprojectId(projectId);
	}


	public List<ProjectBasicinfo> findList(ProjectBasicinfo projectBasicinfo) {
		return super.findList(projectBasicinfo);
	}
	
	public Page<ProjectBasicinfo> findPage(Page<ProjectBasicinfo> page, ProjectBasicinfo projectBasicinfo) {
		return super.findPage(page, projectBasicinfo);
	}

	public Page<ProjectBasicinfo> findProjectList(Page<ProjectBasicinfo> page, ProjectBasicinfo projectBasicinfo) {

		return super.findProjectList(page,projectBasicinfo);
	}

	@Transactional(readOnly = false)
	public void save(ProjectBasicinfo projectBasicinfo) {
		super.save(projectBasicinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(ProjectBasicinfo projectBasicinfo) {
		super.delete(projectBasicinfo);
	}
	
}